const Sequelize = require('sequelize')
const sequelize = require('../../core/db')

module.exports = sequelize.define('order', {
    id: {
        type: Sequelize.INTEGER,
        primaryKey: true,
        autoIncrement: true
    },
    user_id: {
        type: Sequelize.INTEGER,
    },
    name: {
        type: Sequelize.STRING,
    },
    buy_time: {
        type: Sequelize.STRING
    },
    content: {
        type: Sequelize.STRING
    },
    serial_number: {
        type: Sequelize.STRING
    },
    express_number: {
        type: Sequelize.STRING
    },
    status: {
        type: Sequelize.STRING
    }
});



